﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<QLPKWeb.Models.FormBean.ProfileModel.PersionalInformationForm>" %>

<%@ Import Namespace="Webdiyer.WebControls.Mvc" %>
<%@ Import Namespace="DONGACS.DTO" %>
<%--<%@ Import Namespace="FLVS.SRS.Core.Dto" %>
<%@ Import Namespace="MvcPaging" %>
<%@ Import Namespace="MvcContrib.UI.Pager" %>--%>
<%@ Import Namespace="System.Web.Mvc.Html" %>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <script type="text/javascript" language="javascript">
        $(document).ready(function() {
            
        });

        $(function() {
            $("#BirthDay").datepicker({dateFormat: 'dd/mm/yy'});
        });
        
    </script>

    <script type="text/javascript" language="javascript" src="<%= ResolveUrl("~/Content/Scripts/Profile/PersionalInformation.js") %>"></script>

    <%Html.BeginForm();%>
    
    <div class="box round first fullpage">
                <h2>
                  Config Infomation</h2>
                
            <table class="table_input" style="line-height:24px">
                        <tr>
                            <td>&nbsp;</td>
                            <td colspan="3"><div id="MessageUpdateUser" class="blue_bold"></div></td>
                        </tr>
                        <tr>
                            <td width="10%">
                                Họ:
                            </td>
                            <td width="35%">
                                <input type="text" id="FirstName" name="FirstName" size="30" value="<%=Model.Ho%>" tabindex="1" />
                            </td>
                            <td>
                                &nbsp;
                                Giới tính:
                            </td>
                            <td>
                                <input type="radio" value="1" id="Nam" name="GioiTinh" <%if(Model.GioiTinh == true){%>checked="checked"<%} %> tabindex="4"/>Nam &nbsp;&nbsp;
                                <input type="radio" value="0" id="Nu" name="GioiTinh" <%if(Model.GioiTinh == false){%>checked="checked"<%} %> tabindex="5"/>Nữ
                            </td>
                        </tr>
                         <tr>
                            <td>
                                Tên:
                            </td>
                            <td>
                                <input type="text" name="LastName" id="LastName" size="30" value="<%=Model.Ten%>" tabindex="2"/>
                            </td>
                            <td width="10%" nowrap="nowrap">
                                &nbsp;
                                Ngày sinh:
                            </td>
                            <td>
                                <input type="text" id="BirthDay" name="BirthDay" size="30" value="<%= Model.NgaySinh%>" tabindex="6"/>
                            </td>
                        </tr>
                        <tr>
                            <td nowrap="nowrap">
                                Điện thoại :
                            </td>
                            <td>
                                <input type="text" name="Mobile" id="Mobile" value='<%= Model.DienThoai %>' size="30" tabindex="3" />
                            </td>   

                            <td>
                                &nbsp;
                                Email:
                            </td>
                            <td>
                                <input type="text" id="Email" name="Email" size="30" value="<%=Model.Email %>" tabindex="7"/>
                            </td>                           
                        </tr>
                        <tr style="line-height:30px">
                            <td  colspan="3">&nbsp;</td>
                            <td>
                                <input type="button" value="Cập nhật" onclick="LuuThongTinAjax();"/>
                                <input type="reset" value="Hủy" onclick="LuuThongTin();" />
                            </td>
                        </tr>
                    </table>
                 
    </div>
    <%Html.EndForm(); %>
</asp:Content>
